package com.zl.awesome.pattern.prototype.deep;

import java.io.Serializable;

/**
 * @author: netposa
 * @Date: 2020/12/3 15:05
 * @Description:
 */
public class JinGuBang implements Serializable {
    public float h = 100;
    public float d = 10;

    public void big(){
        this.d*= 2;
        this.h*= 2;
    }

    public void small(){
        this.d/=2;
        this.h/=2;
    }
}
